package com.efast.dmom.mgmt.service.les.impl;

import java.util.List;

import com.efast.dmom.mgmt.dao.les.TtWhmMaterialReceiveDao;
import com.efast.dmom.mgmt.entity.les.TtWhmMaterialReceive;
import com.efast.dmom.mgmt.service.les.TtWhmMaterialReceiveService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TtWhmMaterialReceiveServiceImpl implements TtWhmMaterialReceiveService {
	@Autowired
	private TtWhmMaterialReceiveDao ttWhmMaterialReceiveDao;

	@Override
	public long getTtWhmMaterialReceiveRowCount(Assist assist) {
		return ttWhmMaterialReceiveDao.getTtWhmMaterialReceiveRowCount(assist);
	}

	@Override
	public List<TtWhmMaterialReceive> selectTtWhmMaterialReceive(Assist assist) {
		return ttWhmMaterialReceiveDao.selectTtWhmMaterialReceive(assist);
	}

	@Override
	public TtWhmMaterialReceive selectTtWhmMaterialReceiveByObj(TtWhmMaterialReceive obj) {
		return ttWhmMaterialReceiveDao.selectTtWhmMaterialReceiveByObj(obj);
	}

	@Override
	public TtWhmMaterialReceive selectTtWhmMaterialReceiveById(Integer id) {
		return ttWhmMaterialReceiveDao.selectTtWhmMaterialReceiveById(id);
	}

	@Override
	public int insertTtWhmMaterialReceive(TtWhmMaterialReceive value) {
		return ttWhmMaterialReceiveDao.insertTtWhmMaterialReceive(value);
	}

	@Override
	public int insertNonEmptyTtWhmMaterialReceive(TtWhmMaterialReceive value) {
		return ttWhmMaterialReceiveDao.insertNonEmptyTtWhmMaterialReceive(value);
	}

	@Override
	public int insertTtWhmMaterialReceiveByBatch(List<TtWhmMaterialReceive> value) {
		return ttWhmMaterialReceiveDao.insertTtWhmMaterialReceiveByBatch(value);
	}

	@Override
	public int deleteTtWhmMaterialReceiveById(Integer id) {
		return ttWhmMaterialReceiveDao.deleteTtWhmMaterialReceiveById(id);
	}

	@Override
	public int deleteTtWhmMaterialReceive(Assist assist) {
		return ttWhmMaterialReceiveDao.deleteTtWhmMaterialReceive(assist);
	}

	@Override
	public int updateTtWhmMaterialReceiveById(TtWhmMaterialReceive enti) {
		return ttWhmMaterialReceiveDao.updateTtWhmMaterialReceiveById(enti);
	}

	@Override
	public int updateTtWhmMaterialReceive(TtWhmMaterialReceive value, Assist assist) {
		return ttWhmMaterialReceiveDao.updateTtWhmMaterialReceive(value, assist);
	}

	@Override
	public int updateNonEmptyTtWhmMaterialReceiveById(TtWhmMaterialReceive enti) {
		return ttWhmMaterialReceiveDao.updateNonEmptyTtWhmMaterialReceiveById(enti);
	}

	@Override
	public int updateNonEmptyTtWhmMaterialReceive(TtWhmMaterialReceive value, Assist assist) {
		return ttWhmMaterialReceiveDao.updateNonEmptyTtWhmMaterialReceive(value, assist);
	}

	public TtWhmMaterialReceiveDao getTtWhmMaterialReceiveDao() {
		return this.ttWhmMaterialReceiveDao;
	}

	public void setTtWhmMaterialReceiveDao(TtWhmMaterialReceiveDao ttWhmMaterialReceiveDao) {
		this.ttWhmMaterialReceiveDao = ttWhmMaterialReceiveDao;
	}

}